package com.itjob.scott.lesson05;

import com.itjob.scott.annotation.ColumnMapper;

public class StudentEntity {
	
	@ColumnMapper("s_no")
	private String sno;
	
	
	@ColumnMapper("s_name")
	private String sname;
	
	@ColumnMapper("s_age")
	private Integer sage;
	
	@ColumnMapper("s_sex")
	private String ssex;

	public String getSno() {
		return sno;
	}

	public void setSno(String sno) {
		this.sno = sno;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public Integer getSage() {
		return sage;
	}

	public void setSage(Integer sage) {
		this.sage = sage;
	}

	public String getSsex() {
		return ssex;
	}

	public void setSsex(String ssex) {
		this.ssex = ssex;
	}

	@Override
	public String toString() {
		return "StudentEntity [sno=" + sno + ", sname=" + sname + ", sage=" + sage + ", ssex=" + ssex + "]";
	}
	
	
	
	
	

	
	

}
